package birs.model.expanditure;

import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
public class XPD005ModelA {
	@Column(name="BUDGETCODE")
	private int budgetCode;
	@Column(name="BUDGETNAME")
	private String name;
	@Column(name="AMOUNT")
	private double amount;
	
	private List<XPD005ModelB> children;

	public int getBudgetCode() {
		return budgetCode;
	}

	public void setBudgetCode(int budgetCode) {
		this.budgetCode = budgetCode;
	}
	
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getAmount() {
		return amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}

	public List<XPD005ModelB> getChildren() {
		return children;
	}

	public void setChildren(List<XPD005ModelB> children) {
		this.children = children;
	}
}
